package com.qf.blog.mapper;

import com.qf.blog.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.blog.vo.CommentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author toString
 * @since 2024-05-23
 */
public interface CommentMapper extends BaseMapper<Comment> {

    List<CommentVo> getCommentListByPostId(@Param("entityType") Integer entityType,@Param(("entityId")) Integer entityId);
}
